Kanzi 3.9.10
kanzi::qnx::QnxStreamEGLGraphicsOutput Class Reference

Class representing a EGL graphics output that renders into a QNX stream. More...

#include <kanzi/core.ui/platform/graphics_output/qnx_stream_egl/qnx_stream_egl_graphics_output.hpp>

Inheritance diagram for kanzi::qnx::QnxStreamEGLGraphicsOutput:
[legend]

Public Member Functions

KZ_NO_DISCARD optional< void * > createImage (int target, void *data, int *attributes) noexcept override
 GLGraphicsOutput::createImage() implementation.
 
bool destroyImage (void *image) noexcept override
 GLGraphicsOutput::destroyImage() implementation.
 
bool flushContext () noexcept
 Flushes any pending QNX Screen requests to the compositor.
 
KZ_NO_DISCARD optional< SurfaceColorSpacegetColorSpace () const noexcept override
 GLGraphicsOutput::getColorSpace() implementation.
 
KZ_NO_DISCARD optional< GraphicsContextAPIgetGraphicsContextAPI () const noexcept override
 GLGraphicsOutput::getGraphicsContextAPI() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeContextHandle () const noexcept override
 GLGraphicsOutput::getNativeContextHandle() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeDisplayHandle () const noexcept override
 GLGraphicsOutput::getNativeDisplayHandle() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeSurfaceHandle () const noexcept override
 GLGraphicsOutput::getNativeSurfaceHandle() implementation.
 
KZ_NO_DISCARD GLProcPointer getProcAddress (string_view functionName) override
 GLGraphicsOutput::getProcAddress() implementation.
 
KZ_NO_DISCARD optional< SurfaceClientAPIgetSurfaceClientAPI () const noexcept override
 GLGraphicsOutput::getSurfaceClientAPI() implementation.
 
Matrix4x4 getTargetTransformation () const noexcept override
 GLGraphicsOutput::getTargetTransformation() implementation.
 
void logWindowPosition () const noexcept
 Prints the active window position to log.
 
void logWindowSize () const noexcept
 Prints the active window size to log.
 
bool makeCurrent () noexcept override
 GLGraphicsOutput::makeCurrent() implementation.
 
QnxStreamEGLGraphicsOutputoperator= (const QnxStreamEGLGraphicsOutput &)=delete
 Copy assignment operator.
 
QnxStreamEGLGraphicsOutputoperator= (QnxStreamEGLGraphicsOutput &&) noexcept=delete
 Move assignment operator.
 
 QnxStreamEGLGraphicsOutput (const QnxStreamEGLGraphicsOutput &)=delete
 Copy constructor.
 
 QnxStreamEGLGraphicsOutput (const QnxStreamEGLGraphicsOutputProperties &properties)
 Constructor.
 
 QnxStreamEGLGraphicsOutput (QnxStreamEGLGraphicsOutput &&) noexcept=delete
 Move constructor.
 
bool releaseCurrent () noexcept override
 GLGraphicsOutput::releaseCurrent() implementation.
 
bool swapBuffers () override
 GLGraphicsOutput::swapBuffers() implementation.
 
bool swapInterval (int interval) override
 GLGraphicsOutput::swapInterval() implementation.
 
 ~QnxStreamEGLGraphicsOutput ()=default
 Destructor.
 
- Public Member Functions inherited from kanzi::GraphicsOutput
KZ_NO_DISCARD Vector2 getDpi () const noexcept
 Returns the resolution of the target coordinate system in dots per inch.
 
KZ_NO_DISCARD unsigned int getHeight () const noexcept
 Returns the height of layout area in the target coordinate system.
 
KZ_NO_DISCARD unsigned int getWidth () const noexcept
 Returns the width of layout area in the target coordinate system.
 
virtual ~GraphicsOutput ()=default
 Destructor.
 
- Public Member Functions inherited from kanzi::GLGraphicsOutput
virtual ~GLGraphicsOutput ()=default
 Destructor.
 

Protected Member Functions

void setTargetTransformation (Matrix4x4 targetTransformation) noexcept
 Sets the target transformation.
 
void updateCachedValues (unsigned int width, unsigned int height) noexcept
 Updates all cached values from given layout size.
 
- Protected Member Functions inherited from kanzi::GraphicsOutput
void updateDpi (Vector2 dpi)
 Updates the target layout area resolution.
 
void updateSize (unsigned int width, unsigned int height)
 Updates the target layout area size.
 

Additional Inherited Members

- Public Types inherited from kanzi::GLGraphicsOutput
using GLProcPointer
 Pointer to GL function.
 

Detailed Description

Class representing a EGL graphics output that renders into a QNX stream.

Since
Kanzi 3.9.10

Constructor & Destructor Documentation

◆ QnxStreamEGLGraphicsOutput() [1/3]

kanzi::qnx::QnxStreamEGLGraphicsOutput::QnxStreamEGLGraphicsOutput ( const QnxStreamEGLGraphicsOutputProperties & properties)
explicit

Constructor.

Parameters
propertiesSpecifies properties to request for the graphics output.

◆ ~QnxStreamEGLGraphicsOutput()

kanzi::qnx::QnxStreamEGLGraphicsOutput::~QnxStreamEGLGraphicsOutput ( )
default

Destructor.

◆ QnxStreamEGLGraphicsOutput() [2/3]

kanzi::qnx::QnxStreamEGLGraphicsOutput::QnxStreamEGLGraphicsOutput ( const QnxStreamEGLGraphicsOutput & )
delete

Copy constructor.

◆ QnxStreamEGLGraphicsOutput() [3/3]

kanzi::qnx::QnxStreamEGLGraphicsOutput::QnxStreamEGLGraphicsOutput ( QnxStreamEGLGraphicsOutput && )
deletenoexcept

Move constructor.

Member Function Documentation

◆ operator=() [1/2]

QnxStreamEGLGraphicsOutput & kanzi::qnx::QnxStreamEGLGraphicsOutput::operator= ( const QnxStreamEGLGraphicsOutput & )
delete

Copy assignment operator.

◆ operator=() [2/2]

QnxStreamEGLGraphicsOutput & kanzi::qnx::QnxStreamEGLGraphicsOutput::operator= ( QnxStreamEGLGraphicsOutput && )
deletenoexcept

Move assignment operator.

◆ logWindowPosition()

void kanzi::qnx::QnxStreamEGLGraphicsOutput::logWindowPosition ( ) const
noexcept

Prints the active window position to log.

◆ logWindowSize()

void kanzi::qnx::QnxStreamEGLGraphicsOutput::logWindowSize ( ) const
noexcept

Prints the active window size to log.

◆ flushContext()

bool kanzi::qnx::QnxStreamEGLGraphicsOutput::flushContext ( )
noexcept

Flushes any pending QNX Screen requests to the compositor.

Returns
True on success, false on failure.

◆ getProcAddress()

KZ_NO_DISCARD GLProcPointer kanzi::qnx::QnxStreamEGLGraphicsOutput::getProcAddress ( string_view functionName)
overridevirtual

◆ makeCurrent()

bool kanzi::qnx::QnxStreamEGLGraphicsOutput::makeCurrent ( )
overridevirtualnoexcept

◆ releaseCurrent()

bool kanzi::qnx::QnxStreamEGLGraphicsOutput::releaseCurrent ( )
overridevirtualnoexcept

◆ swapBuffers()

bool kanzi::qnx::QnxStreamEGLGraphicsOutput::swapBuffers ( )
overridevirtual

◆ swapInterval()

bool kanzi::qnx::QnxStreamEGLGraphicsOutput::swapInterval ( int interval)
overridevirtual

◆ getTargetTransformation()

Matrix4x4 kanzi::qnx::QnxStreamEGLGraphicsOutput::getTargetTransformation ( ) const
overridevirtualnoexcept

◆ getGraphicsContextAPI()

KZ_NO_DISCARD optional< GraphicsContextAPI > kanzi::qnx::QnxStreamEGLGraphicsOutput::getGraphicsContextAPI ( ) const
overridevirtualnoexcept

◆ getSurfaceClientAPI()

KZ_NO_DISCARD optional< SurfaceClientAPI > kanzi::qnx::QnxStreamEGLGraphicsOutput::getSurfaceClientAPI ( ) const
overridevirtualnoexcept

◆ getColorSpace()

KZ_NO_DISCARD optional< SurfaceColorSpace > kanzi::qnx::QnxStreamEGLGraphicsOutput::getColorSpace ( ) const
overridevirtualnoexcept

◆ getNativeDisplayHandle()

KZ_NO_DISCARD optional< void * > kanzi::qnx::QnxStreamEGLGraphicsOutput::getNativeDisplayHandle ( ) const
overridevirtualnoexcept

◆ getNativeContextHandle()

KZ_NO_DISCARD optional< void * > kanzi::qnx::QnxStreamEGLGraphicsOutput::getNativeContextHandle ( ) const
overridevirtualnoexcept

◆ getNativeSurfaceHandle()

KZ_NO_DISCARD optional< void * > kanzi::qnx::QnxStreamEGLGraphicsOutput::getNativeSurfaceHandle ( ) const
overridevirtualnoexcept

◆ createImage()

KZ_NO_DISCARD optional< void * > kanzi::qnx::QnxStreamEGLGraphicsOutput::createImage ( int target,
void * data,
int * attributes )
overridevirtualnoexcept

◆ destroyImage()

bool kanzi::qnx::QnxStreamEGLGraphicsOutput::destroyImage ( void * image)
overridevirtualnoexcept

◆ setTargetTransformation()

void kanzi::qnx::QnxStreamEGLGraphicsOutput::setTargetTransformation ( Matrix4x4 targetTransformation)
inlineprotectednoexcept

Sets the target transformation.

Parameters
targetTransformationThe target transformation matrix.

◆ updateCachedValues()

void kanzi::qnx::QnxStreamEGLGraphicsOutput::updateCachedValues ( unsigned int width,
unsigned int height )
protectednoexcept

Updates all cached values from given layout size.

Parameters
widthLayout area width in pixels.
heightLayout area height in pixels.

The documentation for this class was generated from the following file: